package com.beiing.tianshuai.tianshuai.dongtai.model;

import com.beiing.tianshuai.tianshuai.dongtai.CallBack;

/**
 * 动态详情页model,需要实现的业务逻辑有：
 *      获取动态详情，包括：评论列表、发表评论、点赞等
 * Created by magikliu on 2017/8/2.
 */

public interface DynamicDetailModelImpl {

    //获得动态详情
    void getDynamicDetail(String uid, String id, int type, int page, int num, CallBack callBack);

    //添加评论
    void addComment(String uid, String to_uid, String aid, String content, String register_id, String create_time, CallBack callBack);

    //回复评论
    void addReply(String did, String cid, String form_uid, String to_uid, String content, String registration_id, CallBack callBack);

    //给动态点赞
    void praiseDynamic(String userid, String aid, String to_uid, CallBack callBack);

    //删除评论
    void deleteComment(String uid, String id, String did, CallBack callBack);

    //获取是否已关注
    void isFollowed(String fromUid, String toUid, CallBack callBack);

    //添加关注
    void setFollowed(String fromUid, String toUid, CallBack callBack);

    //删除回复
    void deleteReply(String uid, String id, CallBack callBack);

    //评论点赞
    void praiseComment(String uid, String cid, String to_uid, String did, CallBack callBack);

    //发送推送
    void sendPush(String status, int tag, int id, String type, CallBack callBack);
}
